package com.hetang.maijiayun.adaptertools.service;

import com.hetang.maijiayun.adaptertools.controller.vo.request.SyncRequest;
import com.hetang.maijiayun.adaptertools.controller.vo.response.MessageResponse;
import com.hetang.maijiayun.adaptertools.controller.vo.response.PlatformLostShops;
import com.hetang.maijiayun.adaptertools.controller.vo.response.Response;
import com.hetang.maijiayun.api.util.APIException;
import com.hetang.maijiayun.adaptertools.controller.vo.request.DetectorRequest;
import com.hetang.maijiayun.adaptertools.controller.vo.response.ShopLostOrder;

import java.util.List;

/**
 * Created by Administrator on 10/26/2015.
 * 检测门店是否有漏单情况的service
 */
public interface IDetectorService {


    /**
     * 获取差异门店数据
     *
     * @param request
     * @return
     */
    public Response<PlatformLostShops> findLostShops(DetectorRequest request) throws Exception;

    /**
     * 同步订单
     *
     * @param request
     * @return
     * @throws Exception
     */
    public MessageResponse syncOrders(SyncRequest request) throws Exception;
}
